package yunhe.dao;

import yunhe.entity.AutoId;

/**
 * Created by lzh on 2017/6/13.
 * 生成本地专用序列
 */
public interface IcreatSeq {
    /**
     * 查询当前值
     * @return
     */
    AutoId search();

    /**
     * 放入新值
     * @return
     */
    int update(AutoId newSeq);
}
